            <div id="info-bar-small">Gestione modulo utility</div>
<?php
        if(!isset($_SESSION['utente'])){ 
                exit("Accesso negato"); 
        }
        else {
                include './includes/connect.php';
                $sql = mysql_query("SELECT * FROM utility ORDER BY utility_id DESC") or die(mysql_error());
?>
            <div id="main">
                <div id="link-display">
                    <dl>
<?php
                while($row = mysql_fetch_array($sql)) {
?>
                        <dt><?=$row['utility_nome'];?></dt>
                            <dd><?=$row['utility_url'];?>
                                <div id="floatright">
                                    <a href="./revise_utility.php?utility_id=<?=$row['utility_id'];?>">Modifica</a> - <a href="./includes/delete_utility.php?utility_id=<?=$row['utility_id'];?>" onclick="return confirm('Eliminare definitivamente il collegamento?')"> Elimina</a>
                                </div>
                            </dd>
                            <hr>
<?php
                }
        }
?>
                    </dl>
                </div>